<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>角色的权限分配</title>
<link rel="stylesheet" type="text/css"
	href="../resources/css/formPage.css" />
<link rel="stylesheet" type="text/css"
	href="../component/dhtmlx25/dhtmlxgrid.css" charset="UTF-8">
<link rel="stylesheet" type="text/css" href="../component/dhtmlx25/skins/dhtmlxgrid_dhx_skyblue.css"
	charset="UTF-8">
<script src="../component/dhtmlx25/dhtmlxcommon.js" charset="UTF-8"></script>
<script src="../component/dhtmlx25/dhtmlxgrid.js" charset="UTF-8"></script>
<script src="../component/dhtmlx25/dhtmlxgridcell.js" charset="UTF-8"></script>

<script type="text/javascript"
	src="../component/EasyUI/jquery-1.4.2.min.js" charset="UTF-8"></script>
<link rel="stylesheet" type="text/css"
	href="../component/EasyUI/themes/gray/easyui.css">
<link type="text/css" rel="stylesheet"
	href="../component/EasyUI/themes/icon.css">
<script type="text/javascript"
	src="../component/EasyUI/jquery.easyui.min.js" charset="UTF-8"></script>
<script type="text/javascript"
	src="../component/EasyUI/locale/easyui-lang-zh_CN.js" charset="UTF-8"></script>

<script type='text/javascript' src="../resources/scripts/jsutil.js"
	charset="UTF-8"></script>
<script type="text/javascript" src="privilege.js" charset="UTF-8"></script>

</head>
<body>
<div id="wrapper">
<h2>角色的权限分配</h2>
<div class="form-container">
<form name="dataform" id="dataform" action="#">
<fieldset><legend>角色的权限分配</legend>
<table width="100%" cellpadding="0" cellspacing="0">
	<tr>
		<td colspan="2">

		<table width="100%">
			<tr>
				<td width="10%">角色：</td>
				<td width="60%"><span id="sprolename"></span> 
				<input type="hidden" name="idRole" id='idRole' /></td>
				<td width="30%"></td>
			</tr>
			<tr>
				<td>系统：</td>
				<td><select name="idSystem" id="idSystem" style="width:250px"></select></td>
				<td>
				
				
				</td>
			</tr>
		</table>
</td></tr>

	<tr>
		<td colspan="2"></td>
	</tr>
	<tr>
		<td width="50%" valign="top">
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td height="30" width="70%">系统资源列表</td>
				<td height="30" width="30%" align="center">操 作
				&nbsp;
				<input type="button" class="button" id='btncreatePower'	name="btncreatePower" value="生成权限"></td>
			</tr>
			<tr>
				<td valign="top" align="center">
				<ul id="treebox" style="width: 90%; height: 570px; background-color: #f5f5f5; overflow: auto; border: 1px solid Silver;"></ul>
				&nbsp;</td>
				<td align="left" valign="top">
				<table cellpadding="0" cellspacing="0" id="opetList">
					
				</table>
				</td>
			</tr>

		</table>
		</td>

		<td width="50%" align="center" valign="top">
		<table width="100%" cellpadding="0" cellspacing="0">
			<tr>
				<td valign="top">
				<table border="1" cellpadding="0" cellspacing="0"
					bordercolor="#F5F5F5">
					<tr>
						<td width="30%" height="30">权限列表
						</td>
						<td height="30"><input type="button" class="button" name="btnpsave"  id='btnpsave' value="保存权限"> 
							 <input type="button" class="button" name="btnTempDel" id='btnTempDel' value="删除权限">
						<input type="button" class="button"  id="btnTempRefresh"  name="btnTempRefresh" value="刷新列表">
						</td>
					</tr>
					<tr>
						<td colspan="2">
						<div id="gridbox"
							style="background-color: white; width: 400px; height: 250px"></div>
						</td>
					</tr>
				</table>
				</td>
			</tr>
			<tr>
				<td>
				<table border="1" cellpadding="0" cellspacing="0"
					bordercolor="#F5F5F5">
					<tr>
						<td width="30%" height="30">已有的权限列表</td>
						<td height="30"><input type="button" class="button" id="btnDelPrivilege" name="btnDelPrivilege"  value="删除权限">
						<input type="button" class="button" name="btnRefreshPrivilege" id="btnRefreshPrivilege" value="刷新列表"></td>
					</tr>
					<tr>
						<td colspan="2">
						<div id="prowerGridbox"
							style="background-color: white; width: 400px; height: 250px"></div>
						</td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>

</fieldset>
</form>
</div>
</div>
</body>
</html>